	var fullScore = '';

	// get check box array
	function checkBoxes(){
		var node = iframe1.document.getElementsByName('score_span')
		var elem;
		for(var i=0;i<node.length;i++){
			node[i].innerHTML='';

		}
		var cbox = iframe1.document.getElementsByName('chkUpdate');
		subscribe(cbox);
	}

	//get the URL array and process scores
	function subscribe(cbox){

		var count;
		var i_val;
		var score_url;
		for(var i=0;i<cbox.length;i++){
			if(cbox[i].checked){
				i_val = i;
				count = cbox.length-(i_val);
				$.ajax({
					type: "get",
					url: "http://local.hazlab.com/cricgadget/jsversion/getScore.php?tag="+cbox[i].value,
					async:false,

					success: function(res){//alert(res);
						if(res != ''){

							var score_holder = document.createElement('div');
							score_holder.setAttribute('class','scorecard');
							iframe1.document.getElementById('full_score_'+count).appendChild(score_holder);

							score_holder.innerHTML = res;
						}else{

						}


					}
				});

			}
		}

	}